function(tab) {
	var spanCloseClass = 1 ? 'span-close' : 'span-close-ie';
	var closeButtonHtml = tab.isShowCloseButton() ?
		"<span aria-hidden=\"true\" class=\"" + spanCloseClass + " close-tabs\" style=\"margin-left:10px;\">&times;</span>" :
		'';
	$(this.tabControlId).append("<li role=\"presentation\" id=\"li-" + tab.htmlId + "\" data-tabid=\"" + tab.htmlId +
		"\" class=\"editor-tab\">\n                <a href=\"#" + tab.htmlId + "\" aria-controls=\"" + tab.htmlId +
		"\" role=\"tab\" data-toggle=\"tab\" id=\"tab-" + tab.htmlId + "\" style=\"\">" + tab.title + closeButtonHtml +
		"\n                </a>\n            </li>");
	//$(this.pagesControlId + ' .tab-content').append(tab.getContent());   
	$(this.pagesControlId).children('.tab-content').first().append(tab.getContent());
	this.refreshTabs();
};
